//
//  MeMyPostDetailController.m
//  youthNote
//
//  Created by huangrensheng on 16/7/20.
//  Copyright © 2016年 laber. All rights reserved.
//

#import "MeMyPostDetailController.h"

@interface MeMyPostDetailController()

@property (nonatomic, strong) UITableView *detailTable;

@end

@implementation MeMyPostDetailController

- (void)viewDidLoad{
    
    [super viewDidLoad];
    
    [self createWithLeftStyle:@{@"type":@"back"} middleStyle:@{@"type":@"title",@"title":@"详情"} rightStyle:nil];
    
    self.detailTable = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStyleGrouped];
    self.detailTable.separatorStyle = UITableViewCellSeparatorStyleNone;
    self.detailTable.dataSource = self;
    self.detailTable.delegate = self;
    [self.view addSubview:self.detailTable];
    [self.detailTable mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.view);
    }];
}

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return 10;
}

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    return 44;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    return [[UITableViewCell alloc] init];
}
@end
